package com.two.screen.water.balance.bean

import com.two.screen.water.balance.bean.database.ProductBean

class IndexBean {

    var code: Int = 0
    var msg: String? = null
    var com_url: String? = null//一户一码
    var com_url_title: String? = null//一户一码
    var data: IndexBean? = null
    var stall: IndexBean? = null
    var basis: IndexBean? = null
    var market: IndexBean? = null
    var pay: IndexBean? = null
    var list_url: MutableList<IndexBean>? = null
    var scs_advert_list: MutableList<String>? = null
    var bottom_advert_list: MutableList<String>? = null


    var certificate: String? = null//食品经营许可证
    var license: String? = null //营业执照

    var cd_t: String? = null
    var cm_cnm: String? = null //联系人姓名
    var cm_ph: String? = null //手机号
    var st_nm: String? = null //档口名称
    var st_lv = 5.0f //档口等级
    var st_cd: String? = null //档口号
    var mar_nm: String? = null //商圈名称
    var mar_id: String? = null //商圈id
    var title: String? = null
    var url: String? = null

    var ai:IndexBean?=null
    var config:IndexBean?=null
    var mLicenseNo: String? = null
    var mStoreNo: String? = null
    var mStoreName: String? = null
    /*  0 关闭AI
        1 食方科技
        2 由由
        3 银歌
        4 创智链科技
        */
    var type_id: Int = 0

    var is_sim_pasi: Int? = 2//简易进销存 1 使用 2 不使用



    /* ================= 以下是以前定义 =================*/
    var update_version: Long? = 0L

    /*订单溯源前缀地址*/
    var mOrderTraceQrPrefixUrl: String? = null

    /*商户小程序二维码地址*/
    var mShopWetchQrUrl: String? = null

    /*市场名称*/
    var mMarketName: String? = null

    /*市场id*/
    var mMarketId: String? = null

    /*操作员名称*/
    var mOperationUserName: String? = null

    /*操作员id*/
    var mOperationUserId: String? = null

    /*预留字段 登陆是返回*/
    var mToken: String? = null

    /*打印小票 头部提示*/
    var mPrintHeadTips: String? = null

    /*打印小票二维码 顶部提示*/
    var mPrintQrTopTips: String? = null

    /*打印小票二维码 底部提示*/
    var mPrintQrBottomTips: String? = null

    /*0重、0购物车订单 多久进入待机 单位秒*/
    var mLeftTime2Await: Long = 5L

    /*语音播报开关*/
    var mIsOpenVoiceBroadcast: Int = 0

    /*商品列表*/
    var fromServerProductList: MutableList<ProductBean>? = null

    /*所有商品分类，用在新增商品时候*/
    var fromServerAllCateList: MutableList<ProductBean>? = null

    /*所有单位，用在新增商品时候*/
    var fromServerAllUnitList: MutableList<ProductBean>? = null


    /*副屏 称重情况下 底部滚播提示文字*/
    var mViceWeightBottomTipsListData: MutableList<String>? = null

    /*副屏 称重情况下 底部滚播轮询时长 单位秒*/
    var mViceWeightBottomTipsLoopTime = 5

    /*副屏 称重情况下 广告滚播轮询时长 单位秒*/
    var mViceWeightBannerLoopTime = 5

    /*副屏 称重情况下 广告滚播动画类型 0~16种 默认推荐16*/
    var mViceWeightBannerAnimationType = 16

    /*副屏 称重情况下 广告图数据*/
    var mViceWeightBannerListData: MutableList<String>? = null

    /*副屏 待机情况下 线上商场二维码地址*/
    var mViceAwaitOnlineUrlQr: String? = null

    /*副屏 待机情况下 线上商场二维码提示文字*/
    var mViceAwaitOnlineTips: String? = null

    /*副屏 待机情况下 公众号二维码地址*/
    var mViceAwaitOfficialUrlQr: String? = null

    /*副屏 待机情况下 公众号二维码提示文字*/
    var mViceAwaitOfficialTips: String? = null

    /*副屏 待机情况下 广告滚播动画类型 0~16种 默认推荐16*/
    var mViceAwaitBannerAnimationType = 16

    /*副屏 待机情况下 广告图数据*/
    var mViceAwaitBannerListData: MutableList<String> = mutableListOf()

    /*副屏 待机情况下 视频数据*/
    var mVideoBean: VideoBean? = null

    /*副屏 待机情况下 广告滚播轮询时长 单位秒*/
    var mViceAwaitBannerLoopTime = 5

    /*店铺Logo地址*/
    var mShopLogoUrl: String? = null

    /*店铺联系人*/
    var mShopUserName: String? = null

    /*店铺名称*/
    var mShopName: String? = null

    /*店铺摊位号*/
    var mShopStallName: String? = null

    /*店铺评星*/
    var mShopStart: Float = 3.5f

    /*公司信息*/
    var mCompanyTips: String? = null

    /*静态 微信 支付二维码地址*/
    var mStaticPayWetchUrl: String? = null

    /*静态 微信 支付二维码背景地址*/
    var mStaticPayWetchBgUrl: String? = null

    /*静态 支付宝 支付二维码地址*/
    var mStaticPayAliUrl: String? = null

    /*静态 支付宝 支付二维码背景地址*/
    var mStaticPayAliBgUrl: String? = null

    /*静态 聚合 支付二维码地址*/
    var mStaticPayJuHeUrl: String? = null

    /*静态 聚合 支付二维码背景地址*/
    var mStaticPayJuHeBgUrl: String? = null

    /*动态 微会员 支付二维码背景地址*/
    var mDynamicPayVipBgUrl: String? = null

    /*动态 聚合 支付二维码背景地址*/
    var mDynamicPayJuHeBgUrl: String? = null

    /*本地循环上传时间段 每隔多久检查上传 单位秒*/
    var mLocalPollingUploadTime = 5L

    /*本地循环上传数据量 每次上传多少条 单位条*/
    var mLocalPollingUploadSize = 10

    /*本地循环上传数据量的上传失败的次数 单位次*/
    var mLocalPollingUploadFailedTimes = 2 //测试时候，调低点。
}

data class VideoBean(var videoUrl: String? = null, var imageUrl: String? = null, var title: String? = null)